package com.qf.day05;

/**
 * 研究构造方法
 */
public class Demo04 {
    public static void main(String[] args) {

        Student sure = new Student("硕", "男", 18, 180,
                150, "white", 13 * 5 * 8,
                10000, 100, 100);

        System.out.println(sure.studyHours);
        sure.playGame(30);



//        Student student = new Student("彤", "男", 18, 190, 150, "white");
//        System.out.println(student.height);
//        System.out.println(student.weight);
//        student.run();
//
//        Student student2 = new Student("硕", "男", 18, 180, 140, "black");
//        System.out.println(student2.weight);
//        System.out.println(student2.color);
//        student2.run();



//        Student sure = new Student("硕");
//        System.out.println(sure.name);
//        System.out.println(sure.color);
//        System.out.println(sure.sex);

//        Student sure = new Student();
//        System.out.println(sure.color);
//        System.out.println(sure.sex);
//        sure.color = "brown";
//        System.out.println(sure.color);
//
//        Student tong = new Student();
//        System.out.println(tong.color);
//        System.out.println(tong.sex);


    }
}
